Showing non-Concrete5 content on same web server

Permalink
I wonder if anyone can please help? I’ve setup a new Concrete5 site, but unbeknown to me at the time, the client also hosts HTML email content on the server. This content is still on the server, but when you go to one of the URLs you get a Concrete5 ‘Page not found’ page. Is there a way of telling Concrete5 to show the content at those locations?

 
JohntheFish replied on at Permalink Reply
JohntheFish
Some options (there are others, but these are a good starting point)

1. use .htaccess and mod-rewrite to decide whether a url goes to c5 or your other pages.

2. Move c5 into a subdirectory

3. Write a single page in c5 (php code) to render your other pages from within the c5 site.
jezvincent replied on at Permalink Reply
Thanks for the reply. I already have C5 in another folder, but not sure how or if I can use .htaccess or mod_rewrite on this server. Do you have an example please?
JohntheFish replied on at Permalink Reply
JohntheFish
No examples ready to hand.

As .htaccess is an apache server file, you are more likely to find examples on stack overflow or other general server forums.
jezvincent replied on at Permalink Reply
Yes, thanks. I know what the file is and where it goes, but was wondering what code I would need to put in it specifically for this purpose. So was hoping this forum would be the best place rather than a general forum. Thanks for your help though. Maybe someone else has done this before and has the code - I hope!
jezvincent replied on at Permalink Reply
The answer to this is simpler than I thought. Just needed to move the folder into the C5 folder. Job done! Thanks JohntheFish for your help.