# Wordpress without mod\_rewrite?

**URL:** <https://dietpi.com/forum/t/wordpress-without-mod-rewrite/16293>\
**Category:** Troubleshooting\
**Created:** [20 March 2023 07:06 UTC](https://dietpi.com/forum/t/wordpress-without-mod-rewrite/16293 "2023-03-20T07:06:33Z")\
**Posts on this page:** 9\
**Page:** 1

<div class="post-metadata">

**Author:** ![murphydoe](https://dietpi.com/forum/user_avatar/dietpi.com/murphydoe/32/88_2.png) [@murphydoe](https://dietpi.com/forum/u/murphydoe)\
**Post date:** [20 March 2023 07:06 UTC](https://dietpi.com/forum/t/wordpress-without-mod-rewrite/16293/1 "2023-03-20T07:06:33Z")

</div>

Hello all,  
I’m just setting up my new homepage with wordpress.  
But now the problem came up:  
with permalinks you could only enter the variant " simple" with p=sample or “costum” with index.php/sample. Otherwise I only got an empty page.  
What I wanted was homepage/sample ?

Read through and tried with htaccess or reinstalling unfortunately did not work. Too bad - here I wanted to make it easy for myself and set it completely to dietpi.

Do you have a simple solution, or perhaps an improvement at the next opportunity?

---

<div class="post-metadata">

**Author:** ![Jappe](https://dietpi.com/forum/user_avatar/dietpi.com/jappe/32/1788_2.png) [@Jappe](https://dietpi.com/forum/u/Jappe)\
**Post date:** [20 March 2023 07:19 UTC](https://dietpi.com/forum/t/wordpress-without-mod-rewrite/16293/2 "2023-03-20T07:19:17Z")

</div>

Why don’t use the custom link structure with `mod\_rewrite" enabled?

---

<div class="post-metadata">

**Author:** ![murphydoe](https://dietpi.com/forum/user_avatar/dietpi.com/murphydoe/32/88_2.png) [@murphydoe](https://dietpi.com/forum/u/murphydoe)\
**Post date:** [21 March 2023 06:23 UTC](https://dietpi.com/forum/t/wordpress-without-mod-rewrite/16293/3 "2023-03-21T06:23:42Z")

</div>

Sorry - I didn’t quite understand that…

I wanted to get a link structure in which the website page/headline is located - without “index.php”.  
Apparently this only works with the active “mod\_rewrite” module.

If this does not work, I assume that the module is not activated at all?

---

<div class="post-metadata">

**Author:** ![Joulinar](https://dietpi.com/forum/user_avatar/dietpi.com/joulinar/32/57_2.png) [@Joulinar](https://dietpi.com/forum/u/Joulinar)\
**Post date:** [21 March 2023 06:59 UTC](https://dietpi.com/forum/t/wordpress-without-mod-rewrite/16293/4 "2023-03-21T06:59:19Z")

</div>

rewrite feature depends on you web server used and might need to be activated seperatly.

---

<div class="post-metadata">

**Author:** ![murphydoe](https://dietpi.com/forum/user_avatar/dietpi.com/murphydoe/32/88_2.png) [@murphydoe](https://dietpi.com/forum/u/murphydoe)\
**Post date:** [21 March 2023 07:06 UTC](https://dietpi.com/forum/t/wordpress-without-mod-rewrite/16293/5 "2023-03-21T07:06:16Z")

</div>

Hello Joulinar,

do you mean in the terminal type “a2enmod rewrite” and edit the “/etc/apache2/sites-enabled/000-default” ?

---

<div class="post-metadata">

**Author:** ![Joulinar](https://dietpi.com/forum/user_avatar/dietpi.com/joulinar/32/57_2.png) [@Joulinar](https://dietpi.com/forum/u/Joulinar)\
**Post date:** [21 March 2023 07:13 UTC](https://dietpi.com/forum/t/wordpress-without-mod-rewrite/16293/6 "2023-03-21T07:13:15Z")

</div>

If you are running Apache, this could be a way.

---

<div class="post-metadata">

**Author:** ![murphydoe](https://dietpi.com/forum/user_avatar/dietpi.com/murphydoe/32/88_2.png) [@murphydoe](https://dietpi.com/forum/u/murphydoe)\
**Post date:** [21 March 2023 12:28 UTC](https://dietpi.com/forum/t/wordpress-without-mod-rewrite/16293/7 "2023-03-21T12:28:39Z")

</div>

i wonder that the module is not automatically set to on at wordpress ?!  
is it a security problem or why is not activated ?  
maybe a feature for an upcoming version?  
is a pity otherwise, if wordpress is only limited to install.

---

<div class="post-metadata">

**Author:** ![Joulinar](https://dietpi.com/forum/user_avatar/dietpi.com/joulinar/32/57_2.png) [@Joulinar](https://dietpi.com/forum/u/Joulinar)\
**Post date:** [21 March 2023 13:13 UTC](https://dietpi.com/forum/t/wordpress-without-mod-rewrite/16293/8 "2023-03-21T13:13:44Z")

</div>

This depends on personal needs I would say. Someone need this module, some not. Therefore it is not enabled be default.

---

<div class="post-metadata">

**Author:** ![murphydoe](https://dietpi.com/forum/user_avatar/dietpi.com/murphydoe/32/88_2.png) [@murphydoe](https://dietpi.com/forum/u/murphydoe)\
**Post date:** [21 March 2023 17:30 UTC](https://dietpi.com/forum/t/wordpress-without-mod-rewrite/16293/9 "2023-03-21T17:30:18Z")

</div>

alles klar. vielen Dank für deine schnelle Antwort
