/site redirect on wordpress
-
This post is deleted! -
If you have cpanel access, just copy the .htaccess file for a backup via file manager (the .htaccess file is in the main directory). You may need to ensure when you load up the file manager you select show hidden files. Then test your changes on the original.
If you mess it up, simply rename the backup to .htaccess
This way, you do not need to rely on having access to WP.
-
Sorry, I wrote it wrong. I meant I only have access to WP. I can edit .htaccess through Yoast plugin. I don't have cpanel access.
-
I am not sure what you mean from your initial post. Can you clarify further?
I..e are you trying to change the location of your wordpress install?
-
I try to change permalink structure from
?p=to /%category%/%postname%/ or /%postname%It changed but when I clicked on logo (it links to: .com/site - which is "WordPress Address (URL)" in WP) I got 404 error.
I just tried duplicate pages (.com/site/...) and they seem to be redirected - all of them are working just fine except com./site/
-
Are you able to link the site \ pm the site so I can take a look?
-
I wrote you PM.
-
Looking at your sitemap, you do not appear to have a page .com/site or page.com/site/
Are you expecting a page named one of those to exist, or would you like the logo linked to your homepage. If it is the latter, there may be an easy fix with this plugin: http://wordpress.org/plugins/eps-301-redirects/
Simple put in the .com/site and .com/site/ urls and point it where you want it.
You say .com/site is the "WordPress Address (URL)" in WP). Shouldn't this just be .com, unless you have 2 wordpress installs for some reason? I am not sure I fully understand this.
I wonder if you have your wordpress installed in a subdirectory, with the url pointing at the root i.e. http://codex.wordpress.org/Giving_WordPress_Its_Own_Directory
Essentially, you will need to just clarify these points a little more please.
-
This post is deleted! -
Yoast uses a slightly different sitemap structure compared to some of the other plugins that generate a "sitemap.xml" file, so that maybe the reason. I wouldn't worry though, as long as the sitemap is in webmaster tools you are good to go.
-
Yes, it should be just .com in the "WordPress Address (URL)". When I changed that, site went down and couldn't fix that without access to cpanel. I can't answer your questions because I can't reach it through FTP or some other way. "Site address (URL)" is normal .com
That's why I am so cautious about .htaccess and those redirects, because for some reasons (which I don't know) site owner doesn't provide me access to cpanel. When site went down due to that "WordPress Address (URL)" change from .com/site to .com owner didn't like it and asked that it wouldn't happen again.
-
That sucks. I suspect the site is not configured properly, but that it would require cpanel\ftp access to fix properly.
At least you have a solution, which is half the battle with Wordpress. There are always bugs that need to be worked around (mainly from theme problems in my experience).
Anyway, glad you got a solution.