Redirect problems

Status
Not open for further replies.

pathoft2

Member
Messages
38
Reaction score
0
Points
6
Up until recently, the redirect I had set up via cPanel to redirect anyone to the wordpress blog (the site's main feature) who goes to the site's url (www.pathofthemagus.elementfx.com)

This is the redirect I was using:
R3AWK.jpg


Up until recently this has worked just fine.

Now, anytime I or anybody else accesses the website, the following error is displayed:

gBeu4.jpg


I have been looking for solutions. I have discovered the .htaaccess file. I had no idea what it was used for, but based on what I've read I believe it can be used to redirect to the Wordpress on my site, which is exactly what I want.

Any help on this matter will be greatly appreciated!
 

caftpx10

Well-Known Member
Messages
1,534
Reaction score
114
Points
63
According to Chrome, it's a redirect loop. The thing is that it does redirect to /wp but that is where the redirection loop starts (this means what you've done can't have possibly done this and did what you were intending to do). Can you remove the redirect and try accessing /wp to see if it redirects to itself or anything like that?
 

leafypiggy

Manager of Pens and Office Supplies
Staff member
Messages
3,819
Reaction score
163
Points
63
Why not move the wordpress install into the root of the directory?
 

pathoft2

Member
Messages
38
Reaction score
0
Points
6
As when I installed WP to begin with, it didn't let me install it in root so I didn't think I could
 

pathoft2

Member
Messages
38
Reaction score
0
Points
6
So if I just simply move it, it will still work? MySQL won't be affected or anything?
 

caftpx10

Well-Known Member
Messages
1,534
Reaction score
114
Points
63
None of that should be affected since all you are doing is moving a whole folder. Since WP is supposed to be installable by anyone, it shouldn't limit itself to the document root with includes/require (if WP is still working after moving around then you should be able to tell that it doesn't use it).
Just move the whole wp folder to your computer, delete the WP folder on the server, enter the WP folder you have downloaded on your computer and drag the contents of it into the server (make sure it is in the root). If that somehow goes wrong, you can always restore it with that WP folder and inform us here.

I assume the path option in the WP setup is just a place to store the files only rather than that and changing paths within for all the files to be attached together.
 

Dead-i

x10Hosting Support Ninja
Community Support
Messages
6,084
Reaction score
368
Points
83

bdistler

Well-Known Member
Prime Account
Messages
3,534
Reaction score
196
Points
63
Just move the whole wp folder to your computer, delete the WP folder on the server, enter the WP folder you have downloaded on your computer and drag the contents of it into the server (make sure it is in the root* )
* bold is by me

Are you saying we should move our WordPress folder/files to the "root" of our account ??

It is my understanding that WordPress (or any other program/script) will not load (run) from the "root" of our account

The folder [ public_html ] is not the "root" of our account - folder [ public_html ] is below the "root" - there are other folders/files above it

The folder [ public_html ] is the "document root" of our account
 
Last edited:

caftpx10

Well-Known Member
Messages
1,534
Reaction score
114
Points
63
* bold is by me

Are you saying we should move our WordPress folder/files to the "root" of our account ??

It is my understanding that WordPress (or any other program/script) will not load (run) from the "root" of our account

The folder [ public_html ] is not the "root" of our account - folder [ public_html ] is below the "root" - there are other folders/files above it

The folder [ public_html ] is the "document root" of our account
Users should automatically know that I mean't public_html, so don't worry about that.
 

caftpx10

Well-Known Member
Messages
1,534
Reaction score
114
Points
63
that is a joke - right ?
i-dunno-lol.jpg


Saw your edit.
Root is like the beginning, FTP is set to be chroot-jailed to the public_html folder so you can't get out of it on a FTP client (possibly excluding the file manager in CPanel).
Root of a storage device like for example, '/' is "the first" storage path found in Linux. The device drive in Windows would be like C:// or E://, nothing special.

Anyway, that is a little off-topic for something which is easily identified.
 
Last edited:

pathoft2

Member
Messages
38
Reaction score
0
Points
6
Being a bit of a techie, I understood that he was referring to public_html as the "root" in this case :p

And thank you kindly caftpx10, that was a very helpful little mini-guide you have provided xD
 

pathoft2

Member
Messages
38
Reaction score
0
Points
6
This operation is under way, I will inform you gentlemen as to the results
 
Status
Not open for further replies.
Top