vBulletin Search Engine Optimization
This is a discussion on Rewriting URLs without changing the address in the location or address bar? within the General Discussion forums, part of the vBulletin SEO Discussion category; OK, how is this done?! For example, vBSEO writes the URLS for the forum in html format, but we all ...
| |||||||
Enhancing 80 million pages. | Register | FAQ | Members List | Calendar | Search | Today's Posts | Mark Forums Read |
|
#1
| |||
| |||
| OK, how is this done?! For example, vBSEO writes the URLS for the forum in html format, but we all know that they're redirecting to php?this=232 or whatever. So why is it when I used 301 redirects for my non forum parts of the site ( eg article350.html = newsarticle.php?id=350 ) that the full php?etc shows in the address bar, when the "nice" URL shows in vBSEOd parts of the site? What's the trick here? |
|
#2
| |||
| |||
| Re: Rewriting URLs without changing the address in the location or address bar? This is how I currently do it: RewriteRule ^news(.*).html /index.php?page=mini2news&articlestart=$1 [L,R=301] RewriteRule ^article(.*).html /index.php?page=newsitem&newsid=$1 [L,R=301] And that changes the address bar. |
|
#3
| ||||
| ||||
| Re: Rewriting URLs without changing the address in the location or address bar? Hello Paul, you should remove "R=301" part from rewrite rules (so that URL is rewritten but not redirected), like: RewriteRule ^news(.*).html /index.php?page=mini2news&articlestart=$1 [L]
__________________ Oleg Ignatiuk / Crawlability Inc. vBSEO 3.2.0 Launched - Maximum Overdrive for Your Web Traffic! Over 100 Instant SEO Optimizations vBSEO Google Sitemap Generator - Version 2.2 Released Mandatory Upgrade for vBSEO 3.2.0 GOLD 6X Traffic - $1400 in One Day with vBSEO! Imagine What the vBSEO Patent Pending Technology Can Do For You. |
|
#4
| |||
| |||
| Re: Rewriting URLs without changing the address in the location or address bar? I always thought 301 was the "search engine friendly" way? I'm confused by this (obviously). |
|
#5
| ||||
| ||||
| Re: Rewriting URLs without changing the address in the location or address bar? These are two different cases - "RewriteRule" can be used for either rewrite or redirect.
__________________ Oleg Ignatiuk / Crawlability Inc. vBSEO 3.2.0 Launched - Maximum Overdrive for Your Web Traffic! Over 100 Instant SEO Optimizations vBSEO Google Sitemap Generator - Version 2.2 Released Mandatory Upgrade for vBSEO 3.2.0 GOLD 6X Traffic - $1400 in One Day with vBSEO! Imagine What the vBSEO Patent Pending Technology Can Do For You. |
| Thread Tools | |
|
|
Similar Threads | ||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| Sitemap generating a lot more urls | poprulz | Troubleshooting | 13 | 02-28-2007 04:15 PM |
| Google Sitemap-Listing of old url's option-from 1.7 | T2DMan | Member Articles | 0 | 04-02-2006 08:46 AM |
| I need to rewrite some old urls since changing the location | BamaStangGuy | Custom Rewrite Rules | 10 | 12-27-2005 02:47 PM |