Redirect Using .htaccess

RewriteEngine On rewritecond %{http_host} ^mydomain.com [nc]rewriterule ^(.*)$ http://www.mydomain.com/$1 [r=301,nc] RewriteCond %{THE_REQUEST} ^[A-Z]{3,9} /index.php HTTP/RewriteRule ^index.php$ http://www.mydomain.com/ [R=301,L] ErrorDocument 404 http://www.mydomain.com/404.htm

Continue Reading →

Wamp server change port

open apacheC:wampbinapacheApache2.2.21httpd.conf than change port Listen 80 replace with Listen 8080 andServerName localhost:80 replace with ServerName localhost:8080 After this restart your…

Continue Reading →