Gostovanje ::: 021. Nastavitev presumeritve URL naslova

WARNING: Never create a redirect for domain.com to www.domain.com or from domain.com to domain.com/index.something. Doing either will cause an infinite loop. If you need to control the www and index page, you must use mod_rewrite by adding .htaccess code.

How to redirect a URL:

  1. Login to cPanel and click the Redirects icon.
  2. Leave the setting as 301 redirect, as this is preferred by search engines.
  3. Select the appropriate domain name from the drop-down.
  4. In the subsequent blank, enter an optional path and file name; this exact name must be typed to trigger the redirect.
  5. In the large blank, enter the full URL for the redirect target; include http:// or https:// (e.g. http://domene.si)
  6. Leave the other settings as they are, unless you know why you want to change them.
  7. Click the Add button and you are done.

Congratulations, when someone types the exact name you specified, they will be redirected to the target site you specified.

Note: Some URLS will not work, for example URLs with a question mark (?) or a colon (:) will cause an error.

  • 0 uporabniku/om je bi članek v pomoč
Vam je bil odgovor v pomoč?

Povezani članki

Gostovanje ::: 004. cPanel Video podpora

We have set up step-by-step movies on how to do nearly everything with your account. cPanel X3...

Gostovanje ::: 001. Prijava v cPanel

cPanel is used for managing your web hosting account and available on all Linux hosting plans,...

Gostovanje ::: 003. cPanel Priročnik

These are great resources we hope will help: Video Tutorials by cPanelOfficial cPanel User Manual

00. Gostovanje ::: Obvestilo

Članki v tej kategoriji so trenutno na voljo samo v angleškem jeziku. V kolikor imate...

Gostovanje ::: 002. Varna prijava v cPanel

How do I use shared SSL to access cPanel ? Use https and our IP address, followed by the secure...