View Full Version : Something strange with the URL
tihomir
07-07-2007, 06:09 PM
Hi, when i create a new page to the directory (from Manage Pages in admin panel) at URL of the new page it apare a "p" before the page name and htm.html afther. For exemple, i create the page "pag.html" in browser apares :"ppaghtm.html"
This thing afect me to SEO, how can i fix it please?
Dave Baker
07-09-2007, 05:52 AM
at URL of the new page it apare a "p" before the page name
Please check this thread:
http://www.esyndicat.com/forum/showthread.php?t=9867&highlight=How+to+remove+p+from+the+url
htm.html afther.
You should specify a page name without any extensions. For ex: "mypage" (not mypage.html)
tihomir
07-09-2007, 11:55 PM
Ok, i fix the problem with doble "html", i changed the "p" and now the pages don`t have content anymore. They have content when i check it in admin pannel but cannot be seen by users on the website. What have i done and how can i fix this problem, what happen?
Dave Baker
07-10-2007, 08:46 AM
What have i done and how can i fix this problem, what happen?
I do not know what you have done.
Please post your url to these pages.
tihomir
07-10-2007, 09:55 AM
Look here : http://ponturifierbinti.com/deafacerionline.html
Or here : http://ponturifierbinti.com/devenitonline.html
There are blanck pages and i don`t know why becouse in admin panel the content for thoose pages exist.
Dave Baker
07-11-2007, 04:52 AM
tihomir,
Please send me PM with your ftp and Admin Panel credentials, I will try to help you.
tihomir
07-11-2007, 12:22 PM
I did, i hope is what you ask me :D
Ok, i fix the problem with doble "html", i changed the "p" and now the pages don`t have content anymore...
What do you mean by "I changed the "p"?
Did you remove "p" from the .htaccess file? Without it you will not be able to access any pages...
But problem with it - you can not create any pages and name it starting with the letter "p".
The solution I used - in the .htaccess file I changed letter "p" to word "page-".
Also you will need to make same change to your footer.tpl file which generates bottom menu.
Now instead of page named "pabout.html" you will have "page-about.html" which is better for SEO.
Also you will have no problems with any pages named with leter "p", "partners" for example...
Let me know if this helps.
tihomir
07-12-2007, 02:53 PM
I changhed "p" with "de" (it has a sense in my leanguage) but the content of pages is gone. I can see content in my admin "manage pages" but not on the website.....
Dave Baker
07-16-2007, 06:25 AM
tihomir,
Check your directory. You should have done all modification.
Please do not miss the step like this, it's important for modification:
***Open .htaccess and find rule***
# mod_rewrite rules for additional pages
RewriteRule ^p(.*).html$ page.php?name=$1 [QSA,L]
p - change it to your symbol.
***Save changes***
tihomir
07-16-2007, 05:41 PM
Dave thank you verry much but now the news are gone. Enter on www.ponturifierbinti.com and try to see the "News" is say "not found", also one of the pages that is in top of page apare with "p" but is "not found" to, i don`t know what to do and i m litle embaraset that i ask you to help me, it was better if i diden`t chamge the "p"....
Dave Baker
07-17-2007, 05:28 AM
tihomir,
Ok, check it now. For some reason instead of this rule for the news page
# mod_rewrite rules for news page
RewriteRule ^(.*)-n([0-9]+).html$ news.php?title=$1&id=$2 [QSA,L]
RewriteRule ^news.html$ news.php [QSA,L]
RewriteRule ^news([0-9]+).html$ news.php?page=$1 [QSA,L]
in your .htaccess there was the following rule:
# mod_rewrite rules for news page
RewriteRule ^de(.*)-n([0-9]+).html$ news.php?title=$1&id=$2 [QSA,L]
RewriteRule ^news.html$ news.php [QSA,L]
RewriteRule ^news([0-9]+).html$ news.php?page=$1 [QSA,L]
:)
If you have any problems, please do not hesitate to ask question.
tihomir
07-17-2007, 05:37 PM
Ok, thank you verry much, you are a kind person to help me, great job.
Excuse my english please :)
Dave Baker
07-18-2007, 04:07 AM
Always at your services tihomir!
vBulletin® v3.7.0, Copyright ©2000-2008, Jelsoft Enterprises Ltd.