Others – Email shop Community https://theemailshop.co.uk/community Wed, 04 Dec 2019 05:40:01 +0000 en-US hourly 1 https://wordpress.org/?v=6.8.3 PHP error- allowed memory size of x bites exhausted https://theemailshop.co.uk/community/knowledge-base/php-error-allowed-memory-size-of-x-bites-exhausted-2/ Wed, 04 Dec 2019 05:40:01 +0000 https://theemailshop.co.uk/forum/?post_type=epkb_post_type_1&p=1170 If you have an error like “Allowed memory size of… in file /directory/folder/yourscript.php“, then it’s possible to choose .htaccess technique to solve the issue. If an error still exists after applying this .htaccess code, then its best to contact our professionals for more help.

Put this code in the .htaccess file of the main domain, and if the error persists even after using the code, then enter this in a directory where you get an error, like example.com/directory/folder/.htaccess and then put the code in the /directory folder.

RLimitMem max

]]>
How would redirect one page to another page or even website using .HTAcess? https://theemailshop.co.uk/community/knowledge-base/how-would-redirect-one-page-to-another-page-or-even-website-using-htacess/ Wed, 04 Dec 2019 05:36:42 +0000 https://theemailshop.co.uk/forum/?post_type=epkb_post_type_1&p=1142 If some page on the website is not existing, and you need to redirect it to another page or even the website then a user can use the .htaccess file for redirection without wasting a minute.

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

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


Redirect from one page to another page

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


so, when you open the url example.com/oldpage.html, it would automatically redirect you to new page such as example.com/newpage.html.

]]>
PHP error- allowed memory size of x bites exhausted https://theemailshop.co.uk/community/knowledge-base/php-error-allowed-memory-size-of-x-bites-exhausted/ Tue, 03 Dec 2019 10:56:35 +0000 https://theemailshop.co.uk/forum/?post_type=epkb_post_type_1&p=716 If you have an error like “Allowed memory size of… in file /directory/folder/yourscript.php”, then it’s possible to choose .htaccess technique to solve the issue. If an error still exists after applying this .htaccess code, then its best to contact our professionals for more help.

Put this code in the .htaccess file of the main domain, and if the error persists even after using the code, then enter this in a directory where you get an error, like example.com/directory/folder/.htaccess and then put the code in the /directory folder.

 

RLimitMem max

]]>
How would you redirect one page to another page or even website using? HTAcess? https://theemailshop.co.uk/community/knowledge-base/how-would-you-redirect-one-page-to-another-page-or-even-website-using-htacess/ Tue, 03 Dec 2019 10:53:46 +0000 https://theemailshop.co.uk/forum/?post_type=epkb_post_type_1&p=701 If some page on the website is not existing, and you need to redirect it to another page or even the website then a user can use the .htaccess file for redirection without wasting a minute.

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

Redirect from one page to another domain:
Rewrite Engine on
Redirect 301 /mypage.html http://example.com

Redirect from one page to another page

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

so, when you open the URL example.com/oldpage.html, it would automatically redirect you to the new page such as example.com/newpage.html.

]]>
How to make a user-friendly URL by using .HTAccess https://theemailshop.co.uk/community/knowledge-base/how-to-make-a-user-friendly-url-by-using-htaccess/ Tue, 03 Dec 2019 10:45:39 +0000 https://theemailshop.co.uk/forum/?post_type=epkb_post_type_1&p=569 If your site has some long URL like example.com/files/folder/sitemap.html, it’s possible to make it into “example.com/sitemap” in .htaccess

you can simply change this line according to your requirements and then add the code to .htaccess file.

Rewrite Engine on
Rewrite Rule ^sitemap/$   /files/folder/sitemap.html [L]

 

]]>