• Resolved fellloo

    (@fellloo)


    [ Moderator note: moved to Fixing WordPress. ]

    Hello,
    at the moment I have a non-Wordpress site that is already online. I want to install WordPress, but I need some of the folders from the prior site. Where do I have to put these folders that the URLs of them don’t change?
    Thanks for help :=)

Viewing 4 replies - 1 through 4 (of 4 total)
  • I am not sure what you mean but let me hazzard a guess. If any of those ‘folders’ or files have links or paths WITHIN them that reference via absolute or relative paths to other folders and file and you move those folders or files then you will have to change the paths within them. There is no way to avoid this.

    However, if you are talking about just URL’s that point to the ‘folders’ then that is something completely different. URL’s are controlled with the DNS settings. So, I am not sure which you are referring to. My guess is you have links within your html that you don’t want to have to change?????

    Thread Starter fellloo

    (@fellloo)

    Ok, thanks for reply. Well let me explain it better:

    I have the folder “mysubfolder2” with some PDFs in my prior non-Worpress site on https://www.mydomain.com/myfolder1/mysubfolder2/myfile.pdf. Now I want to change my site to WordPress and want to add the folder “mysubfolder2” to the WordPress site. This folder should be htaccess protected and the files should be accessed with the same URL (www.mydomain.com/myfolder1/mysubfolder2/myfile.pdf).

    How could I achieve this?

    Thread Starter fellloo

    (@fellloo)

    Ok I tried it with another site where WordPress is already installed. I put the folder in the same folder where index.html is located, then I tested with the browser to access the files and it worked. So for me it was easy :=)

    Thread Starter fellloo

    (@fellloo)

    Sorry for coming back. Now the page is online, but unfortunately it doesn’t work in the way I described above. When I enter the URL an error 404 occurs ??

    Please, how can I achieve this:

    I have the folder “mysubfolder2” with some PDFs in my prior non-Worpress site on https://www.mydomain.com/myfolder1/mysubfolder2/myfile.pdf. Now I want to change my site to WordPress and want to add the folder “mysubfolder2” to the WordPress site. This folder should be htaccess protected and the files should be accessed with the same URL (www.mydomain.com/myfolder1/mysubfolder2/myfile.pdf).

Viewing 4 replies - 1 through 4 (of 4 total)
  • The topic ‘Add Non-WordPress Folder to WordPress with same URL’ is closed to new replies.