You are viewing this forum as a guest. Login to an existing account, or create a new account, to reply to topics and to create new topics.
sorry to repeat this it may get missed it just added to the other thread
i am also having problems getting the HD SEO Modules URLS functioning and whilst i can get the standard seo urls i would like to get rid of the ecom-catshow part of the url and just have the descriptive url like
have tried the following with and without the artimages bit in the rewrite - but just seems to still make the standard seo url
e.g.http://www.anthonyroach.com.au/artimages/ecom-catshow/Pool.html
would greatly appreciate help with this - anthony
Options +FollowSymLinks RewriteEngine on RewriteRule ^artimages/(.*)-(.*)/(.*)\.html artimages/index.php?app=$1&ns=$2&ref=$3 [L,PT] RewriteRule ^ecom-catshow/Pool\.html$ http://www.anthonyroach.com.au/artimages/sea-pool-images [L,R=permanent] RewriteRule ^artimages/sea-pool-images$ /ecom-catshow/Pool.htm
Last edited by antboy (06-24-2010 05:45:07)
Offline
ok corrected 1st post
Hate to ask something stupid, but you have added all URL's to the database, correct?
yep so set Default SEO URL as"/ecom-catshow/Pool.html"
and
High Definition SEO URL as "/sea-pool-images"
Last edited by antboy (06-24-2010 06:28:25)
Offline
anyone those settings don't work though i think i have done it correctly ??
Offline
antboy wrote:
anyone those settings don't work though i think i have done it correctly ??
No, the very last rule should be:
RewriteRule ^artimages/(.*)-(.*)/(.*)\.html artimages/index.php?app=$1&ns=$2&ref=$3 [L,PT]
That rule says to stop rewriting anything else, so it has to be last.
Also, if ecom-catshow is in the directory artimages, then the rewritten url needs to written under that directory. Like this:
RewriteRule ^artimages/sea-pool-images\.html$ artimages/ecom-catshow/Pool.html
I have almost 400 urls. This is getting really tedious.
Last edited by susan2go (06-26-2010 15:15:20)
Offline
Susan - thanks for your help - 400 urls OMG you poor thing
i tried this following your advice but it didn't work - as before when i mouse over the link it looks ok but the page "/sea-pool-images" doesn't actually exist - so its sort of half working
Options +FollowSymLinks RewriteEngine on RewriteRule ^ecom-catshow/Pool\.html$ http://www.anthonyroach.com.au/artimages/sea-pool-images [L,R=permanent] RewriteRule ^artimages/sea-pool-images\.html$ artimages/ecom-catshow/Pool.html RewriteRule ^artimages/(.*)-(.*)/(.*)\.html artimages/index.php?app=$1&ns=$2&ref=$3 [L,PT]
then i set Default SEO URL to "/ecom-catshow/Pool.html" and High Definition SEO URL to "/sea-pool-images"
what am i still missing ?? -
Last edited by antboy (06-26-2010 21:05:25)
Offline
change this:
RewriteRule ^ecom-catshow/Pool\.html$ http://www.anthonyroach.com.au/artimages/sea-pool-images [L,R=permanent]
to this:
RewriteRule ^ecom-catshow/Pool\.html$ http://www.anthonyroach.com.au/artimages/sea-pool-images.html [L,R=permanent]
and you should be good to go. The reverse rewrite rule has to match the rewrite rule in the format (extension or not). Personally, I like the extension .html on my pages rather than just pages with no extensions.
I've rewritten 94 urls today and I'm packing in my .htaccess for the night.
Offline
Susan - many thanks that worked - i think i'll just do my categories i don't think i have your stamina to do every image
thanks again
Offline