Finally solved the issue.
Index.html
file in /public_html/
directory was conflicting with index.php
file.
This awesome article solved the issue.
askwpgirl.com/moving-wordpress-from-subdirectory-to-root-faq/
Related Posts:
- How to remove “http://” When Echoing URL?
- WordPress Move to SSL How to Update Media Assets to HTTPS?
- How to update media links in WordPress after migration?
- Remove site root trailing slash
- home_url(); showing current page instead of site address
- Remove / from www.example.com/ [closed]
- Old URL Redirect website after migration
- The requested URL was not found only on localhost
- hijacking home_url for root relative paths
- Renamed my website (URL) – how do I rename all within-page links to the old URL?
- Website Address Keep redirect to website after migration attempt
- Porting site URLs to new host but with same domain name [closed]
- Showing my server ip in source code for several links not for all links
- Cannot access WordPress website from external IP while internally it is working properly [closed]
- Rewrite Most WordPress URLs
- Broken Images and Style
- How to get the correct URL on my wordpress site?
- Making a site URL
- Accidentally Changed WordPress Url
- After site transfer I’m still getting redirected to the old site (WordPress)
- My Website’s Main URL redirects me to an Archive Page
- What’s the difference between home_url() and site_url()
- Programmatically get images by URL and save in uploads folder
- Problem with guids and absolute links
- WPML Get url without outputting
- Force home page to be https?
- How do I amend the fixed “author” part in the URL?
- get_site_url is not returning anything?
- Check what is at URI (post, archive, etc…)
- Use image url with add_image_size
- Changing my site url from azure.net to custom domain
- Special domain for a page
- How to delete unused URL?
- urlencode query string in gravity forms confirmation redirect
- Pages other than Home page not displayed even when URL is good
- How to server wordpress from SSL and non-SSL URLs
- Author Nickname URL Friendly
- How to show the homepage on a different url, like site.com/blog instead of site.com?
- Changed site URL and now my Front Page doesn’t display correctly
- Should I set the html base url when using wordpress?
- Set a custom URL for image in the Media Library?
- How do I test my localhost WordPress project with VirtualBoxVM?
- How do I link to a blog not set as the homepage?
- Updating URLs in many posts
- How to edit URL Slug?
- Save URL into database
- Change url links on members loops in buddypress
- Imported 10 000+ posts, custom field showing link not displayed
- Find file url in post content and add it to media library
- rewrite taxonomy-{taxonomy}-{term}.php terms
- Multiple URLs with Numbers
- How to add URL-Parameter for Javascript Widgets?
- previous_posts_link and next_posts_link, how to return the next/previous post’s title as the url
- Get Top parent url
- How to properly print a 404 error without redirecton? (i.e. keeping the current URL)
- hide wp-content from urls
- Is there RELATIVE_PATH, like ABSPATH
- Changing the website URL to the root folder
- Accessing WordPress using “localhost” and local ip at the same time
- Open editor post in a popup
- Organizing the Navigation Menu
- My #id is not showing in the url when the user clicks on the anchor tag
- What php gets called for home_url/somepage URL?
- How to prevent unknown addresses which are accessed from my wordpress website [closed]
- Use wp_redirect to add a parameter
- Extracting a variable from a permalink
- Is there an URL listing latest posts
- After changing the site root, how to reflect this for wp-admin too?
- How can I prepopulate the URL address for the add media button
- How to replace post image url before posting using api?
- How to show Specific URL of WordPress on Any one Specific IP only?
- How rewriting a url to make it SEO friendly
- How to make a seo friendly URL of 2 different pages with same words
- Mapping a domain name
- No https in url when writing links like:
- Why “?v=hash” is added to my URLs? [closed]
- WordPress inserting ?q= in URLs
- No url when downloading PDF
- Set A Cookie To URL Parameter, Pass Cookie From Page To Page To Alter Post
- Embed ACF URL Field in WP title field
- Getting Turkish alphabet characters in the URL field in webbrowser
- Post not redirecting to non www after changing from www
- Use URL parameter to create dynamic content
- In-page link works in Firefox but not in Chrome
- How to properly setup MAMP and XIP
- URLs fine in database but wrong in output
- Cannot access to dashboard on localhost
- My website has some Crawling Errors?
- How can I modify the ‘Insert/edit link’ option to offer root-relative urls?
- How to set global variable in functions.php
- Why am I seeing ‘yes’ and ‘no’ in URLs crawled by Xenu?
- bloginfo no show the right path
- URL with without www shows just a blank page
- How to create custom authors links
- Using functions concatenated with strings inside a variable
- How to generate external url in WordPress
- All font sizes change when manually typing 2011 into url and going to archive page
- apply styling only to a specific url
- How can I implement an Article Wizard for non-existing URLs? [closed]
- What purpose does /embed/ URL have and how to avoid SEO problems?