View Full Version : add page problem
smartpc
01-10-2007, 10:36 PM
I dont know if this is a bug or not but its annoying, in front of all pages which are not external linked theres a "p" when i add a page with no external link there`s a "p" in front of the page url.
pabout.htm / pnew-page.htm
is this a bug or has it a reason
Dave Baker
01-11-2007, 01:04 AM
Hello smartpc,
It's not a bug, your script uses mod rewrite and for creating unique url for your page the script uses similar designations.
You can find this rule in your .htaccess file:
# mod_rewrite rules for additional pages
RewriteRule ^p(.*).html$ page.php?name=$1 [QSA,L]
smartpc
01-11-2007, 04:05 PM
thanks for reply, so would it be ok to remove the ^p from the code or just the p?
Michael Hill
01-12-2007, 10:14 AM
Hi, smartpc,
If you remove ^p from code above, nothing will pass to your page.php file and your pages not display.
vBulletin® v3.7.0, Copyright ©2000-2009, Jelsoft Enterprises Ltd.