# Disable auto php suffix

**URL:** <https://forums.realmacsoftware.com/t/disable-auto-php-suffix/37223>\
**Category:** RapidWeaver Classic\
**Created:** [February 1, 2021, 11:18pm UTC](https://forums.realmacsoftware.com/t/disable-auto-php-suffix/37223 "2021-02-01T23:18:18Z")\
**Posts on this page:** 6\
**Page:** 1

<div class="post-metadata">

**Author:** ![muzone](https://avatars.discourse-cdn.com/v4/letter/m/dfb087/32.png) [@muzone](https://forums.realmacsoftware.com/u/muzone)\
**Post date:** [February 1, 2021, 11:18pm UTC](https://forums.realmacsoftware.com/t/disable-auto-php-suffix/37223/1 "2021-02-01T23:18:18Z")

</div>

Hi. It seems when Rapidweaver detects any php in a page it automatically creates a .php suffix to the filename and this cannot be changed to .html. I want to have the file with php in it but use the html suffix so that I can preserve 10 years of SEO and instead parse it in the .htaccess file (using “AddType application/x-httpd-php .html”). Does anyone know how to disable this?

---

<div class="post-metadata">

**Author:** ![pmjd](https://dub1.discourse-cdn.com/flex005/user_avatar/forums.realmacsoftware.com/pmjd/32/18671_2.png) [@pmjd](https://forums.realmacsoftware.com/u/pmjd)\
**Post date:** [February 2, 2021, 12:13am UTC](https://forums.realmacsoftware.com/t/disable-auto-php-suffix/37223/2 "2021-02-02T00:13:05Z")

</div>

Hi Muz,

Welcome to the forum.

Advice is to leave it alone, if a page type has automatically changed to php it’s because its required for something added to that page to function (usually a stack that’s been added) which will not work if it’s .html.

I’ve never heard of the file type upsetting Google, usually it’s the file/page/folder names changing that you need to worry about. However I may be mistaken.

If you want new functionality leave it as php, if you really want html then be prepared to lose the functionality and have a very static web page.

Hope that helps,  
Paul

---

<div class="post-metadata">

**Author:** ![muzone](https://avatars.discourse-cdn.com/v4/letter/m/dfb087/32.png) [@muzone](https://forums.realmacsoftware.com/u/muzone)\
**Post date:** [February 2, 2021, 1:20am UTC](https://forums.realmacsoftware.com/t/disable-auto-php-suffix/37223/3 "2021-02-02T01:20:54Z")

</div>

Cheers Paul. I have tested that instruction in the .htaccess and it does seem to let the php run. I know from updating my site to https:// a couple of years ago , even with all the proper redirects, google takes a while to reindex and traffic does fall off. I’m actually changing to rapidcart pro (php) from RC3 (html) (not supported anymore) and trying to keep the same site structure.I guess though I’ll just have to figured out another way around it.

---

<div class="post-metadata">

**Author:** ![pmjd](https://dub1.discourse-cdn.com/flex005/user_avatar/forums.realmacsoftware.com/pmjd/32/18671_2.png) [@pmjd](https://forums.realmacsoftware.com/u/pmjd)\
**Post date:** [February 2, 2021, 1:31am UTC](https://forums.realmacsoftware.com/t/disable-auto-php-suffix/37223/4 "2021-02-02T01:31:06Z")

</div>

Found a thread from 2019 which looks very relevant for your question.

Don’t know if you’ve been using tidy links but if you had life could be a lot easier for your changes

> [@Updating site from HTML to PHP - SEO and backlinks](http://forums.realmacsoftware.com/t/updating-site-from-html-to-php-seo-and-backlinks/26645):
>
> I am doing a major rebuild of a large (over 175 pages) website with a new theme and better mobile responsiveness. The basic structure will remain the same. Instead of HTML, I am considering using PHP as my default extension and index.php as my filename on all pages. Apparently, this would not significantly slow performance and my site would be better prepared for addons or other items for future functionalities. Of course, I would be removing the current website from the server before uploading…

---

<div class="post-metadata">

**Author:** ![muzone](https://avatars.discourse-cdn.com/v4/letter/m/dfb087/32.png) [@muzone](https://forums.realmacsoftware.com/u/muzone)\
**Post date:** [February 2, 2021, 2:18am UTC](https://forums.realmacsoftware.com/t/disable-auto-php-suffix/37223/5 "2021-02-02T02:18:38Z")

</div>

Thanks for that Paul - there’s some good info there. Just checked and unfortunately I didn’t have the “Tidy Links” on. Nevermind. Onward and forward.

---

<div class="post-metadata">

**Author:** ![system](https://dub1.discourse-cdn.com/flex005/user_avatar/forums.realmacsoftware.com/system/32/25301_2.png) [@system](https://forums.realmacsoftware.com/u/system)\
**Post date:** [March 4, 2021, 12:18pm UTC](https://forums.realmacsoftware.com/t/disable-auto-php-suffix/37223/6 "2021-03-04T12:18:42Z")

</div>

This topic was automatically closed 30 days after the last reply. New replies are no longer allowed.
