Scenario
Redirecting requests to another files,
either on the same server, or to a totally
different website is a very useful server function.
Plus, using the .htaccess file.
Imagine you renamed or moved a file that has
been already indexed in search engines without redirection.
This will cause users reach the error 404 page, when they search,
find, and click on such a link. And this could heavily influence your traffic.
Creating A 301 Redirection. [.htaccess]
Before renaming or moving an older file, a directory or even your entire website, you'll have to redirect to the new location using the .htaccess file. Users will not feel the changes made here, and all will be OK.
First of all you'll create a .htaccess file, copy and paste the relevant script below into it. Edit it appropriately to, and from your desire locations, making sure they are all on the same line.
Save and upload it as ASCII file to your server using FTP,
The .htaccess file should be placed in the same directory as the directory you wish to redirect.
Redirecting A Single File To A New Path.
The script below will redirect an old file to a new file path. Let me simplify it to an easy understanding as follows.
You have here three parts of a command on the same line which is separated with spaces.
- Redirect is the main command followed by a space.
- /olddirectory/oldfile.html is the directory and the file you'll like to redirect followed by a space.
- And at last https://yoursite.com/newdirectory/newfile.html is the destination you'll like to rediredct to. Easy!
See illustration below.
Redirect /olddirectory/oldfile.html https://yoursite.com/newdirectory/ newfile.html
Redirecting An Entire Website.
Redirecting an entire website will be slightly different from redirecting a single file.
This will point your entire website to a different URL, such as youroldsite.com redirected to yournewsite.me
- Redirect is the main command followed by a space.
- 301 represents the entire site that should be redirected, followed by a space, forward slash, and a space again.
- https://yournewsite.me is the new site that the old site should be redirected to, followed by a forward slash.
See illustration below.
Redirect 301 / https://yournewsite.me/
Using these methods you can just flex. And redirect a single file, a directory, or your entire website easily.
Mutt Cutts | Changing Your Domain Name.
Top Articles.
- The Hottest Stuff. Burning Hot!
- How To Find Success In Business
- Free Website Creation Tutorials
- Free Blog Creation Tutorials
- Scripting Tutorials
- Adobe Trail Products And Tutorials
- Sony Creative Software Tutorials And Trails
- Entertainment Corner, More Music And Videos
- Explaining Bitmap And Vector Graphics
- Desktop Audio Recording Setup
- Audacity, A Robust Free Audio Recording Software
- Learn Digital Sound Recording And Editing.
- Learn How To Use FL-Studio Easily.
- Selective Youtube Web-Video Tutorials.
- Get The In-Depth Free SEO Training.
- Affiliate Marketing Tips And Tricks
- Ghana Oil Boom.
- File Synchronization Tool
- Get Free Templates For Your Website
- Download Absolute Free Software
- Visit Our Knowledge Base
Clicks4UrMind
Man will give you worldly powers, and make you feel on top of all, note this is temporally and could be redrawn at anytime sending you back to the ground floor of life. However, the Lord Almighty, the one and the only rightful ruler of the Universe, blesses everlastingly.
Knowledge is Power, but Power is not Knowledge. Wisdom is the truthful Power that identifies the Knowledge within the man. And only, I repeat 3x. Only the almighty God has the power to bless the man with his Wisdom forever.
To achieve the Lord's blessings, cease not praying daily, asking for his Wisdom, and you'll be blessed abundantly...
SPYERA PHONE
Spyera Phone version is software that you install on a smart phone to monitor everything happening on the phone. After installation, SPYERA secretly records events (sms, call history, phone book, location, emails, What's App messages, IM, Facebook Chat, Skype, See photos taken and many more...) that happen on the phone and delivers these information to a web account, where you can view these reports 24/7 from any Internet enabled computer or mobile phone. SPYERA also allows you to listen to the surroundings of the target mobile , listen to the phone conversation and to know the location of the device.
Please, Kindly Donate What You Can, Enabling Us Pay Hosting And Domain Costing, And Do More.