Login
Username

Password



Not a member yet?
Click here to register.

Forgotten your password?
Request a new one here.
Navigation
Follow us on Facebook
Follow us on Google+
View Thread
Official Home of PHP-Fusion » General Addon and Modification Support » Modifications and Requests
Who is here? 1 guest(s)
 Print Thread
URL rewriting for custom pages
gilesytheking
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 28-11-2012 23:36
 
Vyper69
SEO Friend can be used. I use it.

http://www.php-fu...don_id=357
 
http://www.elink2biz.com
gilesytheking
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.phpfus...mod_id=934 [/url]
Edited by gilesytheking on 29-11-2012 12:46
 
outlaw16151
do ya upload this mod to the root?
 
Craig
README? No??
Regards
 
http://www.phpfusionmods.co.uk/
Luke
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.
 
Jump to Forum:
Similar Threads
Thread Forum Replies Last Post
custom page with include??? Content Administration 13 01-04-2014 01:37
SEO friendly URL rewriting layer Roadmap 12 23-03-2014 08:08
Custom Pages Content Administration 6 11-03-2014 16:27
[CUSTOM] PHP-Fusion Time/Date Settings Code Snippet and functions 10 04-03-2014 17:57
Custom Pages Content Administration 10 11-02-2014 12:56
Official Home of PHP-Fusion uses cookies. Some may already have been set. Read more about our Cookies here.
Please click the button I Consent Cookies to hide this bar and accept our cookies. If you continue to use the site with no action taken, we'll assume that you consent our cookies anyway.
Cookiebar Panel fromVenue