Wordpress configuring

My Synology DS 1513+ came with the Wordpress app which I recently installed. It created a subdirectory under the already existing Web folder named Wordpress.

I created a very basic website to teach myself how to do this and all is well EXCEPT..

To access the website, you must type http://www.mywebsite.com/wordpress. I'd like to drop the need to include the word "wordpress" but haven't figured out how/where to do that. I figure there must be a pointer in there somewhere, but it's not obvious (to me, anyway) how to do this. I want to end up with just typing http://www.mywebsite.com/.

Ideas anyone?
SpaceCoastLifeAsked:
Who is Participating?
 
Zephyr ICTCloud ArchitectCommented:
You should be able to do this by adding a .htaccess file into the root of your web directory and add following:

RewriteEngine On
RewriteCond %{HTTP_HOST} ^(www.)?mywebsite.com$
RewriteRule ^(/)?$ wordpress [L]

Open in new window


Just change "mywebsite.com" to the actual name you want to use ... That should do it I think.
0
 
SpaceCoastLifeAuthor Commented:
Not sure I follow you. Are you suggesting I create a text file named .htaccess with the above statements and save it in the web folder?
0
 
Zephyr ICTCloud ArchitectCommented:
yep ... but the text file doesn't have an extension, it should be just called .htaccess
0
 
SpaceCoastLifeAuthor Commented:
Thanks again!
0
 
Zephyr ICTCloud ArchitectCommented:
No worries, glad to help!
0
Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.

All Courses

From novice to tech pro — start learning today.