Put it to good use when making accessible CSS designs!
Archive for the ‘CSS & XHTML Tutorials’ category
1) Create a txt file. Name it: htaccess.txt.
2) Copy this code into the htaccess.txt file:
redirect 301 /oldpagename.html http://www.yoursite.com/newpagename.html
Note: be mindful to keep all spaces present as the above is written. You may also redirect html or php.
oldpagename.html with your previous page name.
http.../newpagename.html with the new page you wish to redirect to.
5) Upload to the root directory of your site.
6) Rename the htaccess.txt file to: .htaccess - with no file extension.
Enter the URL to your old webpage and it should redirect!
Here’s a handy script by Dynamic Drive which works for both Internet Explorer & FireFox. It’s also Opera compatible too. Works a treat!
It’s safe to say every web designer, now and then, comes to blows with a certain browser version when building a site compatible to its specific guidelines.
Xenocode.com allows you to download and run any browser from the web. Each browser, whether it be a version of Explorer, FireFox, Chrome, Opera or Safari is roughly 12mb in size.
A handy tool to have when building a compatible website for all browsers.