Jump to content

Recommended Posts

Posted

I created the subdomain classifieds.rentersguild.com which is to be located at rentersguild.com/rent but displayed as of course the subdomain. Instead of it routing correctly it goes to www.rentersguild.com. Please help fix this, preferably without another 24 hour queing. Also please provide laymens instructions if I need to do anything that isn't point and click. Thank you for your help.

 

Domain: rentersguild.com

username: guid83

Subdomain: classifieds.rentersguild.com

Location of subdomain: http://rentersguild.com/rent

 

Also it has been more than 24 hours already. Thanks again for any help.

P.S. I don't want to set it up as a redirect.

Posted

Please post the contents of the following files:

 

/home/<username>/.htaccess

/home/<username>/public_html/.htaccess

/home/<username>/public_html/rent/.htaccess

 

I suspect it has nothing to do with the server or 24 hours, but rather a syntax error in your ModRewrite rules.

Posted

I don't see any .htaccess files in any of these directories, but in case I'm just not seeing it here are screen shots of what I'm looking at.

 

Maybe you could PM me and I'll give you my password.

post-53202-0-03949000-1369079528_thumb.png

post-53202-0-81958800-1369079695_thumb.png

post-53202-0-52131800-1369079782_thumb.png

Posted

Files that start with a period (.) in linux are hidden files, so make sure you have the checkbox to view hidden files enabled in order to see .htaccess

 

Heliohost staff members will never nor can ever require your password for any reason. Anyone who asks for your password is likely not a staff member, but rather a scam to gain access to your data. Do not ever give your password to anyone for any reason.

Posted (edited)

For: /home/guild83/public_html/.htaccess

RewriteEngine On

RewriteBase /

RewriteRule ^index\.php$ - [L]

# add a trailing slash to /wp-admin

RewriteRule ^([_0-9a-zA-Z-]+/)?wp-admin$ $1wp-admin/ [R=301,L]

RewriteCond %{REQUEST_FILENAME} -f [OR]

RewriteCond %{REQUEST_FILENAME} -d

RewriteRule ^ - [L]

RewriteRule ^([_0-9a-zA-Z-]+/)?(wp-(content|admin|includes).*) $2 [L]

RewriteRule ^([_0-9a-zA-Z-]+/)?(.*\.php)$ $2 [L]

RewriteRule . index.php [L]

 

# BEGIN WordPress

&--#60;IfModule mod_rewrite.c&--#62;

RewriteEngine On

RewriteBase /

RewriteRule ^index\.php$ - [L]

RewriteCond %{REQUEST_FILENAME} !-f

RewriteCond %{REQUEST_FILENAME} !-d

RewriteRule . /index.php [L]

&--#60;/IfModule&--#62;

# END WordPress

 

There isn't a .htaccess for /home/guild83

 

For /home/guild83/public_html/rent/.htaccess

<IfModule mod_rewrite.c>

RewriteEngine On

RewriteBase /rent/

RewriteRule ^index\.php$ - [L]

RewriteCond %{REQUEST_FILENAME} !-f

RewriteCond %{REQUEST_FILENAME} !-d

RewriteRule . /rent/index.php [L]

</IfModule>

Edited by guildwebmaster
Posted

Instead of it routing correctly it goes to www.rentersguild.com.

And what do you mean by routing correctly? Is it supposed to display the same thing as rentersguild.com/rent but show classifieds.rentersguild.com in the url bar? Or is it supposed to show rentersguild.com/rent in the url bar when you go to classifieds.rentersguild.com? I get that it's probably not supposed to go to www.rentersguild.com.

Posted

Krydos or any other admin, do you have a way to log into my site as an admin to see what is wrong - this issue still is not resolved. I give you permission to go into my account and modify anything behind the scenes of the website. I just want it working.

Posted

I believe the reason your subdomain is behaving the way it is is because you installed osclass to rentersguild.com/rent instead of installing it to the subdomain. Try removing the install through softaculous, and then reinstall it but this time choose the corect subdomain that you want it to work as.

 

Yes, as current root administrator, of course I have access to anything on any of the four servers that I want. However, you can fix this yourself. It's your account not mine. If there is something wrong with the server that is the stuff that gets highest priority for my time. This is just a software/code error.

 

One of my personal policies I try to keep in mind as an administrator is,

 

"If you give a man a fish, he eats for a day; if you teach a man to fish, he eats for a lifetime."

 

I could just give you a fish by fixing this for you, but what about the next time you don't know how to do something? If you just learn how to do this stuff yourself you won't have to bother anyone else for help, and you might even become a contributing member of the Heliohost community by being able to help others. That's the reason this service is free, because it's run by volunteers helping each other. Most of us were just as or more clueless than you feel right now when we started, but we were willing to learn. Once we had learned enough we were able to pay back the community that taught us so much by helping the next generation of newbies.

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...