Hosting PHP 

How to redirect / rewrite urls using .htaccess file

What is .htaccess? The .htaccess (Hypertext Access) file is an Apache distributed server configuration file. You can use the .htaccess file to set server configurations for a specific directory. .htaccess file is created in order to enable extra features for that subdirectory. Creating .htaccess: we have to create .htaccess in the application root path. But if you want only for a specific subpath then you can create in subpath too. Note: While adding urls, please replace all the example.com domains with your specific domain. Redirecting all URLs: The following line…

Read More
wordpress 

WordPress: “Too many redirects” not able to access the dashboard

In WordPress “Too many redirects” error might occur in multiple cases, below are some solutions. Solution #1: Too many redirects. Clear all browser cache, cookies and saved data, if you are using and CDN in between like cloudflare / cloudfront the purge cache and check. Note: Before trying next solution please take a full backup of the site with database and then try. Solution #2: Try disabling the “.htaccess” file by renaming it. or try to disable all plugins by renaming wp-content->plugins folder to something else. if still not able…

Read More