vBulletin Search Engine Optimization
This is a discussion on URL Rewrite not 100% within the Troubleshooting forums, part of the vBSEO Google/Yahoo Sitemap category; Okay, Cheers for looking at this. I hope you can help me Right, I have a forum and i've spotted ...
| |||||||
Enhancing 80 million pages. | Register | FAQ | Members List | Social Groups | Calendar | Search | Today's Posts | Mark Forums Read |
|
#1
| |||
| |||
| URL Rewrite not 100%
Okay, Cheers for looking at this. I hope you can help me Right, I have a forum and i've spotted that if i have two or more sections called the same thing, for example " Other " which ever link is pressed it goes to the wrong place. Here is a live example, This is for the Guild Wars Section Other - Die Hard Gaming - For all your coding and gaming needs! ____ This is for the Graphics section Other - Die Hard Gaming - For all your coding and gaming needs! Notice how they both go to the same url? here is my .htaccess Code: RewriteEngine on
# Comment the following line (add '#' at the beginning)
# to disable mod_rewrite functions.
# Please note: you still need to disable the hack in
# the vBSEO control panel to stop url rewrites.
RewriteEngine On
# Some servers require the Rewritebase directive to be
# enabled (remove '#' at the beginning to activate)
# Please note: when enabled, you must include the path
# to your root vB folder (i.e. RewriteBase /forums/)
#RewriteBase /
#RewriteCond %{HTTP_HOST} !^www\.dhgaming\.com
#RewriteRule (.*) http://www.dhgaming.com/$1 [L,R=301]
RewriteRule ^((urllist|sitemap_).*\.(xml|txt)(\.gz)?)$ vbseo_sitemap/vbseo_getsitemap.php?sitemap=$1 [L]
RewriteCond %{REQUEST_URI} !(admincp/|modcp/|cron)
RewriteRule ^((archive/)?(.*\.php(/.*)?)?)$ vbseo.php [L,QSA]
RewriteCond %{REQUEST_FILENAME} !-f
RewriteCond %{REQUEST_FILENAME} !-d
RewriteCond %{REQUEST_FILENAME} !^(admincp|modcp|clientscript|cpstyles|images)/
RewriteRule ^(.+)$ vbseo.php [L,QSA]
So maybe i need to tell the forum to make it "Dhgaming.com/other*" * = Number, Changing url. I dont know, Please help |
|
#2
| ||||
| ||||
|
if you have 2 forums with the same name (sub- or regular) you must include the ID in the structure.
|
|
#3
| |||
| |||
|
How do i do that?
|
|
#4
| ||||
| ||||
|
First, we need to verify you're a customer. You're not currently showing as a vbseo owner. If you are working on behalf of someone else, have them add you in their userCP as a 'tech team' member. If you are the owner, you need to have a staff member assign your license to your name. |
|
#5
| ||||
| ||||
|
Hello , I cannot find any info for your domain name within our License Database. If you already purchased vBSEO and your license is not activated please send me a PM including your forum adress and payment transaction id so i can investigate further. Otherwise we only support Licensed Users. You are always welcome to purchase a new license and out Support team can asist you immediately with your problems. |
|
#6
| |||
| |||
|
Alright, Will do. I'll try and get him to activate my account soon, I manage the server you see |
|
#7
| ||||
| ||||
|
have him go here: http://www.vbseo.com/usercp/customer_profile/ and enter your name in the 1 of the 3 blocks at the bottom
|
|
#8
| ||||
| ||||
|
but like i said, to fix the issue you need to include the ID in your re-write option, or change the forum name. To include the ID, scroll to the preset area for the re-write rules. expand with the + sign to see all options, then find the rule you wish to use given the examples. instead of [forum_name] you will probably want to use [forum_id]-[forum_name] |
| Thread Tools | |
| |
Similar Threads | ||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| Rewrite for custom 'app' - rewrite and retrieving 'GET' variables..? | amnesia623 | Custom Rewrite Rules | 4 | 02-09-2008 02:50 AM |
| Anyone using Custom Rewrite Rules to rewrite OpenAds ad urls? | echamberlain | Custom Rewrite Rules | 2 | 12-12-2007 07:24 PM |
| URL Rewrite Settings / Custom Rewrite Rules | shanemcse | General Discussion | 0 | 03-04-2006 02:57 PM |