Skip to content
Advertisement

Tag: http-status-code-301

curl returning 301 error after migrating to https

We recently migrated to SSL, and the site works great with the exception of one function. The function uses curl in the code below to execute an api located on the same server. The url variable for this function is: news.hubsdev.com/administrator/index.php?option=com_api&task=acymailing.listcreate The $ch variable is – resource id=’384′ type=’curl’ The response is We are using PHP version 5.6 hosted on

.htaccess 301 redirect of single page

After a site redesign, I’ve got a couple of pages that need to be redirected. Everything is staying on the same domain, just a couple of things have been reorganised and/or renamed. They are of the form: /contact.php is now: /contact-us.php Using the .htaccess file, I’ve added this line, which is the one I find recommended most: This is mostly

Advertisement