WordPress url duplicates domain name

I built a site in WordPress, all works fine, but after uploading, all my links are reading wrongly.

My site name is nativemedialimited.com and thats what its supposed to read on the url, but when i click on any link in the menu, example, I get http://nativemedialimited.com/nativemedialimited.com/clip when i click on ‘clip’ hence this gives me 404 error.

Read More

I have eddited the options parameter in the database for site url and home. I have done all that I would do normally as this is not my first WordPress upload.

Thanks ahead

Related posts

2 comments

  1. Try adding an http:// to your WP_HOME (Site Address (URL)) and WP_SITEURL (WordPress Address (URL)).

  2. All links in database must include http://

    All links in wp_option.php file must NOT include http://

    Open phpMyAdmin check 4 tables :
    a) wp_blogs :
    domain : www.funbeli.com
    path : /
    
    domain : http://www.2aek.com/funbuy (if wp files are in sub folder)
    path : /funbuy/
    
    b) wp_options :
    siteurl : http://www.funbeli.com
    home : http://www.funbeli.com
    
    siteurl : http://www.2aek.com/funbuy (if wp files are in sub folder)
    home : http://www.2aek.com/funbuy
    
    click page 2 Then :
    c) wp_site :
    domain : http://www.funbeli.com
    path : /
    
    domain : http://www.2aek.com/funbuy (if wp files are in sub folder)
    path : /funbuy/
    
    d) wp_sitemeta :
    siteurl : http://www.funbeli.com
    siteurl : http://www.2aek.com/funbuy (if wp files are in sub folder)
    
    Then edit wp-config file in wp folder :
    define('DOMAIN_CURRENT_SITE', 'www.funbeli.com');
    
    define('PATH_CURRENT_SITE', '/');
    define('DOMAIN_CURRENT_SITE', 'www.2aek.com');
    
    define('PATH_CURRENT_SITE', '/funbuy');
    

Comments are closed.