| |
| |
|
|
|
|
| |
|
| |
|
| :: |
| Author |
Message |
Amr
Joined: 03 Jan 2008 Posts: 5
|
Posted: Thu Jul 31, 2008 8:52 am Post subject: can I keep links as is |
|
|
hi all
I have used this mod to short url:
| Code: | RewriteEngine On
# Forums
RewriteRule ^forum-([0-9]*)-([0-9]*)-([0-9]*).* index.php?f=$1&ppage=$2&sort=lastpost&order=DESC&start=$3
RewriteRule ^forum-([0-9]*)-([0-9]*).* index.php?f=$1&ppage=$2&sort=lastpost&order=DESC
RewriteRule ^mforum-([0-9]*).* index.php?f=$1&mark=topics
RewriteRule ^mforums.* index.php?mark=forums
RewriteRule ^forum-([0-9]*).* index.php?f=$1
RewriteRule ^forums.* index.php
RewriteRule ^admin/forums.* admin/index.php
# Topics
RewriteRule ^topic-([0-9]*)-([0-9]*)-([0-9]*).* viewtopic.php\?t=$1&postdays=$2&postorder=asc&start=$3
RewriteRule ^poll-([0-9]*)-([0-9]*).* viewtopic.php\?t=$1&postdays=$2&postorder=asc&vote=viewresult
RewriteRule ^wtopic-([0-9]*).* viewtopic.php?t=$1&watch=topic&postorder=asc
RewriteRule ^utopic-([0-9]*).* viewtopic.php?t=$1&unwatch=topic&postorder=asc
RewriteRule ^topic-([0-9]*)-([0-9]*).* viewtopic.php?t=$1&start=$2
RewriteRule ^uttopic([0-9]*).* viewtopic.php?t=$1&unmark=topic
RewriteRule ^uptopic([0-9]*).* viewtopic.php?p=$1&unmark=post
RewriteRule ^newtopic([0-9]*).* viewtopic.php?t=$1&view=newest
RewriteRule ^ptopic-([0-9]*).* viewtopic.php?t=$1&view=previous
RewriteRule ^ntopic-([0-9]*).* viewtopic.php?t=$1&view=next
RewriteRule ^fpost-([0-9]*).* viewtopic.php?p=$1&view=first
RewriteRule ^post-([0-9]*).* viewtopic.php?p=$1
RewriteRule ^topic-([0-9]*).* viewtopic.php?t=$1
# misc.
RewriteRule ^usercp.* usercp.php
RewriteRule ^faq.* faq.php
RewriteRule ^search.* search.php
RewriteRule ^memberlist.* memberlist.php
RewriteRule ^groups.* groupcp.php
RewriteRule ^viewonline.* viewonline.php
RewriteRule ^login.* login.php |
but now i am going to change my forum to phpbb3, so can I keep my url as is, I want to keep links and arichiving on other sites like google,
-http://www.site.com/post-262424.html
if yes, please help  |
|
|
| Back to top |
|
 |
|
 |
SeO Administrateur - Site Admin

Joined: 15 Mar 2006 Posts: 3987
|
Posted: Thu Jul 31, 2008 9:28 am Post subject: Re: can I keep links as is |
|
|
I suggest you give a try to our SEO premod, because you do not need to keep the exact same url to keep your SERP and indexing.
You can just redirect (http 301) the old one to the new ones and then take advantage of the new possibilities offered by our mod rewrites.
HTTP 301 redirecting is made very easy with the zero duplicate, you just need to keep your old rewriterules up and running at the end of your new .htaccess.
So it's time to think about it, but if you really want to keep your current urls, it will be mostly possible as well. |
_________________ phpBB SEO || SEO Forum || Forum Référencement
GYM Sitemap & RSS for phpBB3 has been released ! || GYM Sitemap & RSS for phpBB3 est disponible ! |
|
| Back to top |
|
 |
Amr
Joined: 03 Jan 2008 Posts: 5
|
Posted: Thu Jul 31, 2008 9:59 am Post subject: Re: can I keep links as is |
|
|
thanks for your efforts
Great Ill use "SEO premod"
| Quote: | | You can just redirect (http 301) the old one to the new ones and then take advantage of the new possibilities offered by our mod rewrites. |
how can I do that, my RewriteRule in the first post
thanks again. |
|
|
| Back to top |
|
 |
SeO Administrateur - Site Admin

Joined: 15 Mar 2006 Posts: 3987
|
Posted: Thu Jul 31, 2008 10:23 am Post subject: Re: can I keep links as is |
|
|
| SeO wrote: |
HTTP 301 redirecting is made very easy with the zero duplicate, you just need to keep your old rewriterules up and running at the end of your new .htaccess. |
Nothing more, local testing is though advised to make sure that everything is set up as expected before you make the big jump. |
_________________ phpBB SEO || SEO Forum || Forum Référencement
GYM Sitemap & RSS for phpBB3 has been released ! || GYM Sitemap & RSS for phpBB3 est disponible ! |
|
| Back to top |
|
 |
Amr
Joined: 03 Jan 2008 Posts: 5
|
Posted: Thu Jul 31, 2008 9:48 pm Post subject: Re: can I keep links as is |
|
|
I mean is there any process on rewrite_mode to redirect for example any one from old links like
RewriteRule ^topic-([0-9]*).* viewtopic.php?t=$1
to the new links
thanks  |
|
|
| Back to top |
|
 |
SeO Administrateur - Site Admin

Joined: 15 Mar 2006 Posts: 3987
|
Posted: Fri Aug 01, 2008 11:45 am Post subject: Re: can I keep links as is |
|
|
| SeO wrote: | | you just need to keep your old rewriterules up and running at the end of your new .htaccess. |
For real, just keep your phpBB2 rewriterules up and running (eg with proper paths and slashes) at the bottom of you new .htaccess, the zero dupe will do the rest  |
_________________ phpBB SEO || SEO Forum || Forum Référencement
GYM Sitemap & RSS for phpBB3 has been released ! || GYM Sitemap & RSS for phpBB3 est disponible ! |
|
| Back to top |
|
 |
|
|
| Navigation |
Similar Topics |
|
|
|
|
|
|
|
| |
|
|
|
|
| |
|
|
|
|
| |