The Moz Q&A Forum

    • Forum
    • Questions
    • My Q&A
    • Users
    • Ask the Community

    Welcome to the Q&A Forum

    Browse the forum for helpful insights and fresh discussions about all things SEO.

    1. SEO and Digital Marketing Q&A Forum
    2. Categories
    3. On-Page / Site Optimization
    4. /site redirect on wordpress

    /site redirect on wordpress

    On-Page / Site Optimization
    12 2 179
    • Oldest to Newest
    • Newest to Oldest
    • Most Votes
    Reply
    • Reply as question
    Log in to reply
    This topic has been deleted. Only users with topic management privileges can see it.
    • Jonathan1979
      Jonathan1979 last edited by

      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.

      OVJ 1 Reply Last reply Reply Quote 1
      • OVJ
        OVJ @Jonathan1979 last edited by

        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.

        1 Reply Last reply Reply Quote 1
        • Jonathan1979
          Jonathan1979 last edited by

          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?

          OVJ 1 Reply Last reply Reply Quote 1
          • OVJ
            OVJ @Jonathan1979 last edited by

            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/

            1 Reply Last reply Reply Quote 0
            • Jonathan1979
              Jonathan1979 last edited by

              Are you able to link the site \ pm the site so I can take a look?

              OVJ 1 Reply Last reply Reply Quote 1
              • OVJ
                OVJ @Jonathan1979 last edited by

                I wrote you PM.

                1 Reply Last reply Reply Quote 0
                • Jonathan1979
                  Jonathan1979 last edited by

                  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.

                  OVJ 2 Replies Last reply Reply Quote 1
                  • OVJ
                    OVJ @Jonathan1979 last edited by

                    This post is deleted!
                    1 Reply Last reply Reply Quote 1
                    • Jonathan1979
                      Jonathan1979 last edited by

                      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.

                      1 Reply Last reply Reply Quote 1
                      • OVJ
                        OVJ @Jonathan1979 last edited by

                        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.

                        Jonathan1979 1 Reply Last reply Reply Quote 1
                        • Jonathan1979
                          Jonathan1979 @OVJ last edited by

                          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.

                          1 Reply Last reply Reply Quote 1
                          • 1 / 1
                          • First post
                            Last post
                          • My site auto redirects http to https. This is causing redirect chains. What can I do?
                            WebQuest
                            WebQuest
                            0
                            2
                            130

                          • Random /feed 404 error from a wordpress site
                            marcoloprete_web
                            marcoloprete_web
                            0
                            7
                            3.6k

                          • Redirect closing established site to another established site.
                            FedeEinhorn
                            FedeEinhorn
                            0
                            4
                            137

                          • Redirecting pages (old site to new site)
                            evolvingSEO
                            evolvingSEO
                            0
                            3
                            126

                          • Redirect both / and non-/ URLs?
                            OVJ
                            OVJ
                            1
                            5
                            161

                          • New jobboard: Can redirecting folder (site.com/jobboard) to subdomain (jobboard.site.com) hurt SEO?
                            MikeTek
                            MikeTek
                            0
                            4
                            182

                          • How do I do a 301 Redirect in IIS 7 from http://www.freightmonster.com/index.html to http://freightmonster.com/index.html when I don't have a physical page to redirect?
                            EricaMcGillivray
                            EricaMcGillivray
                            0
                            4
                            1.0k

                          • Google Page Rank of my site has dropped from 4/10 to 3/10
                            SteveOllington
                            SteveOllington
                            1
                            10
                            2.8k

                          Get started with Moz Pro!

                          Unlock the power of advanced SEO tools and data-driven insights.

                          Start my free trial
                          Products
                          • Moz Pro
                          • Moz Local
                          • Moz API
                          • Moz Data
                          • STAT
                          • Product Updates
                          Moz Solutions
                          • SMB Solutions
                          • Agency Solutions
                          • Enterprise Solutions
                          • Digital Marketers
                          Free SEO Tools
                          • Domain Authority Checker
                          • Link Explorer
                          • Keyword Explorer
                          • Competitive Research
                          • Brand Authority Checker
                          • Local Citation Checker
                          • MozBar Extension
                          • MozCast
                          Resources
                          • Blog
                          • SEO Learning Center
                          • Help Hub
                          • Beginner's Guide to SEO
                          • How-to Guides
                          • Moz Academy
                          • API Docs
                          About Moz
                          • About
                          • Team
                          • Careers
                          • Contact
                          Why Moz
                          • Case Studies
                          • Testimonials
                          Get Involved
                          • Become an Affiliate
                          • MozCon
                          • Webinars
                          • Practical Marketer Series
                          • MozPod
                          Connect with us

                          Contact the Help team

                          Join our newsletter
                          Moz logo
                          © 2021 - 2026 SEOMoz, Inc., a Ziff Davis company. All rights reserved. Moz is a registered trademark of SEOMoz, Inc.
                          • Accessibility
                          • Terms of Use
                          • Privacy