How to redirect a page to another page or website using .htaccess?

If a page on your website no longer exist and you want to redirect it to your new page or website then you can use the .htaccess file for redirection without waiting.

Redirect from a page/directory to another domain or the main domain:

Redirect from a specific page to a domain:
RewriteEngine on
Redirect 301 /mypage.html http://example.com

Redirect from a page to another page:
Redirect from a page/directory to another page
Redirect 301 /oldpage.html /newpage.html

Now, whenever you open the url example.com/oldpage.html, it will automatically redirect you to example.com/newpage.html.

How to create a user-friendly URL using .htaccess?

If your website is using long URL like example.com/files/folder/sitemap.html, you can change it into “example.com/sitemap” in .htaccess

Modify this line according to your needs and then add this code to your .htaccess file.

RewriteEngine on
RewriteRule ^sitemap/$   /files/folder/sitemap.html [L]

How to create an E-mail Autoresponder when you are unavailable or on vacation in SiteWorx?

If you are going on a holiday or will be unavailable for a few days or a month, you can create an auto e-mail responder for your e-mails so that when people email you, they will receive an automated e-mail with your message like “I am on a holiday, please e-mail me in a few days’ time”.

1. Log into your SiteWorx account. (e.g. www.example.com:2443/siteworx/ )

2. Under “SiteWorx Menu“, click the “Hosting Features” menu item if it is not already open.

3. Click the “E-mail” menu item and then click on “Autoresponders” option.

4. In the “E-mail Address” field, enter the email address on which you want to enable autoresponder. If you want to enable auto responder on YourEmail@example.com, enter “YourEmail” (without the quotes).

5. In the “Send copy to” field, enter your personal e-mail address where you want to receive copy of your emails (Optional).

6. In the “Autoresponder Message” field, enter message like “I am on vacation”, etc.

7. Click on the “Add” button.

How to remove Autoresponder?
1.
 Open Autoresponder.

2. 
You should see your autoresponder email list under “Existing Autoresponders“.

3. Click on the “Delete” button next to the e-mail address.

How to forward email to Gmail, Yahoo or other e-mail service providers?

1. Log into your SiteWorx account. (e.g. www.example.com:2443/siteworx/ )

2. Under “SiteWorx Menu“, click the “Hosting Features” menu item if it is not already open.

3. Click the “E-mail” menu item and then click on “Aliases” option.

4. Enter your email address under “Add an Alias” like “myemail” (without the quotes) in the “E-mail Address” field.

5. In the “Forward To” field, enter your custom e-mail address on which you want to receive forwarded e-mail.

6. Click on the “Add” Button.

How to Access your Email Account from SiteWorx Webmail?

1. Log into your SiteWorx account. (e.g. www.example.com:2443/siteworx/ )

2. Under “SiteWorx Menu“, click the “Hosting Features” menu item if it is not already open.

3. Click the “E-mail” menu item and then choose the “Webmail” option.

4. You will be redirected to a SiteWorx Webmail page. Enter your full e-mail address/password, choose “RoundCube“, “Horde” or the “SquirrelMail” Webmail program in the “Webmail” field and then click on the login button.

Once your Webmail Email Reader opens, you will be able to read your e-mail and check your e-mail inbox and junk e-mail.

How to change your e-mail password at SiteWorx?

To change your e-mail password, perform the following steps:

1. Log into your SiteWorx account. (eg: www.example.com:2443/siteworx/ )

2. Under “SiteWorx Menu“, click the “Hosting Features” menu item if it is not already open.

3. Click the “E-mail” menu item and then click on “Mailboxes” option.

4. Under “Existing E-mail Boxes” tab, Select the appropriate e-mail address and click on the “edit” button.

5. Enter your new password in the password field or use a password generator.

6. Click the “Save” button.

You should see a success message.

How to Remove Email account in SiteWorx?

To remove a email address, perform the following steps:

1. Log into your SiteWorx account (e.g. www.example.com:2443/siteworx/ ).

2. Under “SiteWorx Menu“, click the “Hosting Features” menu item if it is not already open.

3. Click the “E-mail” menu item and then click on the “Mailboxes” option.

4. Under the “Existing E-mail Boxes” tab , select the appropriate E-mail address you wish to remove and then click on the “Delete” button.

5. For conformation, click again on the “Delete” button.

You should see a success message notifying you that your e-mail address has been removed.

How to Create an E-mail Account with Siteworx?

To create a new e-mail address, perform the following steps:

1. Log into your SiteWorx account. (e.g. www.example.com:2443/siteworx/ )

2. Under “SiteWorx Menu“, click the “Hosting Features” menu item if it is not already open.

3. Click the “E-mail” menu item and then click on “Mailboxes” option.

4. Under the “Add an E-mail Box” tab, enter the e-mail address that you wish to create, such as “my-first-email“.

5. Click on the “Add” button.

Once your e-mail account is created, it will appear under the “Existing E-mail Boxes” tab.

php error: Allowed memory size of x bytes exhausted

If you are getting an error like “Allowed memory size of… in file /directory/folder/yourscript.php“, then you can use an .htaccess trick to resolve this problem. If this error does not go away even after you apply this .htaccess code, you should contact us and we will help you.

Place this code in your .htaccess file of your main domain and if this error persists even after you have used the code, enter it in a directory where you are receiving an error, such as example.com/directory/folder/.htaccess and place the code in the /directory folder.

RLimitMem max