Urgent help needed

Farman

New Member
i have my site at a dedicated server and my forum url is like: http://www.mydomain.com/~forum , when i activate VBSEO and try to click a post then i redirect to www.mydomain.com/application/post.htm which is unavailable.
i want to redirect to www.mydomain.com/~forum/application/post.htm

here is my .htaccess file.

Code:
# 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\.yourdomain\.com

#RewriteRule (.*) http://www.yourdomain.com/forums/$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]
 

Hoxxy

New Member
Replace this bit:
Code:
#RewriteCond %{HTTP_HOST} !^www\.yourdomain\.com

#RewriteRule (.*) http://www.yourdomain.com/[color=Red]~[/color]forums/$1 [L,R=301]
changes highlighted in red.
 

mmmxiv

New Member
Code:
#RewriteCond %{HTTP_HOST} !^www\.yourdomain\.com

#RewriteRule (.*) http://www.yourdomain.com/~forum/$1 [L,R=301]

wouldnt it be changed to ~forum with no s?
 

Farman

New Member
Thanks Hoxxy but it didnt solve my prob.
actually at the moment i am accessing my site on my ip address because my domain not activated yet, may be it create problems.

example: i have my site at ip: xxx.xxx.xxx.xxx/~site

when i click a post example "antivirus" in category "applications" then it redirect to not found page at : xxx.xxx.xxx.xxx/applications/antivirus.html
 

mmmxiv

New Member
Pretty sure you're not meant to broadcast your servers IP.

Also, if you're running nulled vBulletin, take the link away, quick.
 

dark_hunter

New Member
Farman said:
Thanks Hoxxy but it didnt solve my prob.
actually at the moment i am accessing my site on my ip address because my domain not activated yet, may be it create problems.

example: i have my site at ip: xxx.xxx.xxx.xxx/~site

when i click a post example "antivirus" in category "applications" then it redirect to not found page at : xxx.xxx.xxx.xxx/applications/antivirus.html
Also when you get your domain. Make sure you take the ~stuffloa out.
By going to:
vBulletin Options > Site Name / URL / Contact Details > Forum URL
URL of your forum.
Note: do not add a trailing slash. ('/')
 

Farman

New Member
dark_hunter said:
Also when you get your domain. Make sure you take the ~stuffloa out.
By going to:
vBulletin Options > Site Name / URL / Contact Details > Forum URL

its mean my problem will solved when i access my site via domain? and secondly my site is located at ~stuffloa so how can i changed that? i mean i purchased hosting from someone who is running their dedicated server and he gave me hosting at xxx.xxx.xxx.xxx/~stuffloa , can it create problems for me?
 

dark_hunter

New Member
Farman said:
its mean my problem will solved when i access my site via domain? and secondly my site is located at ~stuffloa so how can i changed that? i mean i purchased hosting from someone who is running their dedicated server and he gave me hosting at xxx.xxx.xxx.xxx/~stuffloa , can it create problems for me?
I had another person get hosting off someone else and he had ~XXXXXX on the end of his domain name, so yes it will make a problem with clicking in links within your forum.
 

Farman

New Member
can you clear me that "~" is creating problems or ~XXXXX?
I've my forum on another host like: mysite.xxxxxx.com/forum and thats working fine.
 

Farman

New Member
dark_hunter said:
Explain more please?

I've my forum at my friend hosting server : mysite.example.com/myforum and thats working fine wid VBSEO 2.2.0. But now i wanted to get new domain + new hosting, and when i purchased new hosting from someone at example.com/~mysite then this problem appears.

If u need more info tell me sir.i will pm u my site so u will understand well.
 

dark_hunter

New Member
Farman said:
I've my forum at my friend hosting server : mysite.example.com/myforum and thats working fine wid VBSEO 2.2.0. But now i wanted to get new domain + new hosting, and when i purchased new hosting from someone at example.com/~mysite then this problem appears.

If u need more info tell me sir.i will pm u my site so u will understand well.
I may be wrong but the ~X is the name for the user on that server. but when you get your domain you need to take that out and just have the domain.
 
Top