Skip to main content
Inspiring
May 15, 2019
Answered

.htaccess not working since update to Dreamweaver CC

  • May 15, 2019
  • 2 replies
  • 1097 views

Hi,

I had a website created in Dreamweaver CS6 (PHP 5.6) and created friendly URLs using htaccess which worked fine. I have since updated everything using Dreamweaver CC to PHP 7.3 but now the htaccess file has stopped working. I have been in touch with my hosting provider Fasthosts and while dropping the extensions is working in my htaccess file works fine, its not reading the friendly URL's.

Fasthost has asked me to check the scripting path of my website as it seems that the file does not recognise the path of my files for my pages.

What do I need to do to get it to recognise them?

Thanks for all your help!!!!

This topic has been closed for replies.
Correct answer Lisa2706

Hi everyone, and thank you for your help, you have been great trying to sort this out for me. I have just received a notification from Fasthosts informing me that its not working due to their servers and that I need to use a cloud or dedicated server for this to happen.

Cheers

2 replies

Lisa2706AuthorCorrect answer
Inspiring
May 15, 2019

Hi everyone, and thank you for your help, you have been great trying to sort this out for me. I have just received a notification from Fasthosts informing me that its not working due to their servers and that I need to use a cloud or dedicated server for this to happen.

Cheers

BenPleysier
Community Expert
Community Expert
May 15, 2019

We can discount the Dreamweaver effect because there is no functional difference between versions CS6 and CC.

That leaves us with the difference between PHP 5.6 and PHP 7.3. Not knowing what you have coded in PHP, I am assuming that you have used database connections to retrieve the paths for your pages. I am also assuming that you have used MySQL queries to obtain that information. The sad part is that PHP 7 does not recognise MySQL; but needs MySQLi (improved) or PDO queries to retrieve the information. See PHP 7 Connect to MySQL for more.

Wappler is the DMXzone-made Dreamweaver replacement and includes the best of their powerful extensions, as well as much more!
Lisa2706Author
Inspiring
May 15, 2019

Hi,

Thanks for this, the information is being brought back correctly and is working fine on the MySQL database, as the full length URL with all of the params. Its getting this long URL to shorten with htaccess that is the problem.

http://1100962072.test.prositehosting.co.uk/content.php?Page_URL=about-us

BenPleysier
Community Expert
Community Expert
May 15, 2019

Where have you placed the .htaccess file? I ask this because you show

<base href="/"/>

which is not the root directory of your test site.

Wappler is the DMXzone-made Dreamweaver replacement and includes the best of their powerful extensions, as well as much more!