Custom template and search engine friendly story titles/categories
lalawren 0
From: -
From: -
Notice
This topic is archived. New comments cannot be posted and votes cannot be cast.Responses to this topic
1 Re: Custom template and search engine friendly story titles/categories
Philipp
From: Austria
Administrator
1342From: Austria
Custom template and search engine friendly story titles/categories
RewriteRule ^(.*)_s([0-9]+).php$ /story.php?id=$1 [L]
should be:
RewriteRule ^(.*)_s([0-9]+).php$ /story.php?id=$2 [L]
RewriteRule ^(.*)_s([0-9]+).php$ /story.php?id=$1 [L]
should be:
RewriteRule ^(.*)_s([0-9]+).php$ /story.php?id=$2 [L]
1 Re: Custom template and search engine friendly story titles/categories
yura369 0
From: -
From: -
Custom template and search engine friendly story titles/categories
Since you are not customer and since Philipe working hard on 2.0 i doubt he will :x
Since you are not customer and since Philipe working hard on 2.0 i doubt he will :x
1 Re: Custom template and search engine friendly story titles/categories
randy1d 0
From: -
From: -
Custom template and search engine friendly story titles/categories
can you address this question from 1-12-2007
can you address this question from 1-12-2007
As you know we're working with a customized storyteller template that was customized by someone else with more php/apache knowledge than I have! Regardless, we're trying to get the SEF URLs for news articles and category titles. I've tried editing .htaccess using code posted in another thread, but because of the custome .htaccess it's not working. The site is: retirement-retirement.com. Here's our .htaccess file. Can it be edited for SEF urls?
--------------------------------
Options +FollowSymLinks
RewriteEngine on
RewriteBase /
RewriteCond %{HTTP_HOST} ^retirement-retirement.com
RewriteRule ^(.*)$ http://www.retirement-retirement.com/$1 [R=permanent,L]
RewriteRule ^(.*)_s([0-9]+).php$ /story.php?id=$1 [L]
RewriteRule ^(.*)_p([0-9]+).php$ /printer.php?id=$2
RewriteRule ^(.*)_c([0-9]+).php$ /category.php?id=$2
RewriteRule ^story-([^-]*).php$ /story.php?id=$1
RewriteRule ^category-([0-9]*).php$ /category.php?id=$1
RewriteRule ^archive-([^-]*).php$ /archive.php?id=$1 [L]
RewriteRule ^category-([0-9]*)-([0-9]*).php$ /category.php?id=$1&newspage=$2
RewriteRule ^thread-([0-9]*).php$ /thread.php?id=$1 [L]
RewriteRule ^thread-([0-9]*)-([0-9]*).php$ /thread.php?id=$1&page=$2 [L]
RewriteRule ^forum-([0-9]*).php$ /forums.php?id=$1 [L]
RewriteRule ^forum-([0-9]*)-([0-9]*).php$ /forums.php?id=$1&page=$2 [L]
RewriteRule ^rssfeeds.php$ /backend.php?action=help [L]
RewriteRule ^print-story-([0-9]*).php$ /printer.php?id=$1
RewriteRule ^profile-([^-]*).php$ /profile.php?user=$1 [L]
----------------------------------------------------
many thanks!