wordpress url correction

Copy the index.php and .htaccess file(Just copy it , do not move it ) from myblog directory to root directory. Open index.php file in any text editor and find the following code in the file. /** Loads the WordPress Environment and Template */ require(‘./wp-blog-header.php’); Replace it with the following code and save the file. /** … Read more

Changing the color scheme based on the url visited

The Misconception get_site_url() retrieves the site_url option from the database, as set under General Settings in the administrative backend / wp-admin. If this is indeed the exact same wordpress installation it will always return the same thing, regardless of whether the location is reachable via one, two or five hundred domains. You might want to … Read more

Linking to pages/posts within the site

WordPress always uses the full URL when it inserts a link. There are a number of reasons for this, and they are all good reasons. You can add relative URLs yourself by simply typing your own links and omitting the domain portion of the link. So http://sitename.tld/cool-page becomes /cool-page. As I said, though, this is … Read more

Changing the website URL to the root folder

If I understand it correctly you want to transfer the site from www.example.com/test/wordpress to the www.example.com. To do so you have to have access to FTP or CPANEL/PLESK to actually cut files from the old location to the new. When you finished that you can use this tool to make the correct changes to the … Read more

Hata!: SQLSTATE[HY000] [1045] Access denied for user 'divattrend_liink'@'localhost' (using password: YES)