Get started with PHP-Fusion

Start a New Thread

Users Participated

  • Craig
    Post made: 1
  • gilesytheking
    Post made: 2
  • Luke
    Post made: 1
  • Vyper69
    Post made: 1
  • outlaw16151
    Post made: 1

Related Threads

custom pages
updated 10 months ago

  1. PHP-Fusion Support Forums
  2. General Addon and Modification Support
  3. Modifications and Requests

URL rewriting for custom pages

Post your modification and request questions here

5 Replies 2,142 Views Last Updated on 2 years ago

gilesytheking


Junior Member

#1

Posted 3 years ago

is there a mod or infusion that allows admin to rewrite the url for custom pages?

instead of the page displaying /view.php?page_id=1 it would display something like, home.php or aboutus.php

Merged on Nov 28 2012 at 14:18:12:
possibly there is also something that allows admin to create page title, mete descriptions, keywords etc for custom pages and or the rest of the site?

Merged on Nov 28 2012 at 23:36:50:
i have actually created for each page on my site separate files and locales, then just copied the the code from the existing php fusion pages, to get the desired effect. my page looks something like this;

[syntaxhighlighter brush=php,first-line=1,highlight=0,collapse=false,html-script=false]require_once "maincore.php";
require_once THEMES."templates/header.php";
include LOCALE.LOCALESET."chimney.php";


add_to_title($locale['global_200'].$locale['101']);

{
opentable($locale['101']);

echo "<table border='0' bordercolor='#000000' CELLSPACING='1' CELLPADDING='1' align='center' width='850'>
<tr>
<td style='vertical-align:top;'><text align='left'><b>".$locale['201']."</b></text></td>
<td width='400' style='vertical-align:top;'><IMG SRC='http://www.chimneyworldcyprus.com/images/chimney1.jpg' ALIGN='center' ALT='Cyprus Chimney Cake'></td>
</tr>

</table>";

closetable();
}
require_once THEMES."templates/footer.php";

?>
[/syntaxhighlighter]

Surely there is something that can be applied to the custom pages to allow an admin to create a custom url for each page and add meta descriptions etc.
Edited by gilesytheking on 29-11-2012 00:36

Posts: 48

Joined: 04/03/2010

Vyper69


Senior Member

#2

Posted 3 years ago

SEO Friend can be used. I use it.

http://www.php-fu...don_id=357

Posts: 474

Joined: 25/05/2012

gilesytheking


Junior Member

#3

Posted 3 years ago

I have this installled on my site, but it doesnt appear to do anything. I have entered meta descriptions and key words for pages, but when i view that pages info in my browser, no information is displayed.

In the first box labled "page" i should enter the page URL, correct?

Merged on Nov 29 2012 at 12:46:01:
Ok so I have done some searching and found this MOD.

I have added it to my site and works great.

[url]
http://www.phpfusion-mods.net/infusions/moddb/v...mod_id=934 [/url]
Edited by gilesytheking on 29-11-2012 13:46

Posts: 48

Joined: 04/03/2010

outlaw16151


Member

#4

Posted 2 years ago

do ya upload this mod to the root?

Posts: 69

Joined: 03/02/2013

Craig


Fusioneer

#5

Posts: 4526

Joined: 27/09/2005

Luke


Newbie

#6

Posted 2 years ago

Hello,

Mod by jikaka/Foxfolder has main bug. If you want to disable left/right side panels on your custom page you can't do this. Friendly URL's seem to be not understandable for "Disable panel" box'es in Main Settings.
Is it any solution to get rid of this?
Mod is great, but this bug makes it useless for many PF users.

Posts: 3

Joined: 16/10/2010

Jump to Forum:
16 users are online
0 member and 16 guests