ExpressionEngine CMS
Open, Free, Amazing

Thread

This is an archived forum and the content is probably no longer relevant, but is provided here for posterity.

The active forums are here.

Loosing old url's after switching?

August 07, 2007 3:50pm

Subscribe [0]
  • #1 / Aug 07, 2007 3:50pm

    adambeazley

    153 posts

    I am currently doing the 30 day demo and I really like what I see so far, however I have a few issues I would like to get cleared up.

    1: I already have a fully functional website, blog, forum and social site. The social site and forums will work seemlessly together and will stay the ssame, but i want to use EE for the main website and the blog. My existing site was built on html so I have alot of existing name_of page.html links. Is there any way to specify the same urls so I do not have to manually make each of of my existing .html pages redirects to the new pages?
    In other words, in the EE admin area is there a way to write a weblog and make the URL /weblog.html instead of the default which would be the /title_with_underscores ?

    2: Is there a way I can hard code different php code into different pages? Basically I want to use php and SQL queries to display information from my existing social site. An example would be displaying the newest members of my social site on the main index.php.

    3: Is there a way to hard code something in my social script that would sign my members up into the EE database as well as my existing members databse? I woudl eventually like to have something setup where my members are seen as logged in across all of my website (forum, EE and social site).

    thant you for all of your help and keep up the good work, EE is a very nice CMS, I love the templating setup, its sooo easy.

    Adam

  • #2 / Aug 07, 2007 4:19pm

    Erin Dalzell

    790 posts

    Is there any way to specify the same urls so I do not have to manually make each of of my existing .html pages redirects to the new pages?
    In other words, in the EE admin area is there a way to write a weblog and make the URL /weblog.html instead of the default which would be the /title_with_underscores ?

    Do you mean weblog *entry* when you say, “write a weblog”?

    You can make old URLs work with mod_apache_rewrite work.

    2: Is there a way I can hard code different php code into different pages? Basically I want to use php and SQL queries to display information from my existing social site. An example would be displaying the newest members of my social site on the main index.php.

    Yes, to both of your questions. You can embed other PHP calls into all your pages. For the SQL Queries, you could use EE’s Query Module.

    3: Is there a way to hard code something in my social script that would sign my members up into the EE database as well as my existing members databse? I woudl eventually like to have something setup where my members are seen as logged in across all of my website (forum, EE and social site).

    You mean, when someone signs up to your EE site, they are automatically signed up for your other members DB? That can definitely be done several different ways. I believe there are hooks in for the member registrations you could tie into. Or you could add the php calls to the member template page itself.

  • #3 / Aug 07, 2007 4:46pm

    adambeazley

    153 posts

    How exactly does the mod_apache_rewrite work?


    Also let me clarify my last question:

    Basically I want people to signup at my social environmental site as I have a lengthly signup process where I collect all sorts of information (to calculate emissions). Now when they signup at the social site, their information is also added to a phpbb databse so they can use the main forum seemlessly as well. I am still working on a way to keep each user logged in across the different platforms (phpbb forum and special social site).

    Now like I said I would like to replace my existing wordpress blog and main html based website with EE. Idealy I would like my social site signup process to also fill in information into the EE database so that my members can be logged in across all 3 platforms. I understand that this will mean that each member will have two or three differnt databases in which their personal data is stored. Does this sound possible and is their a way to use sessions to keep the user logged in across all platforms as they switch inbetween all of them?

    thanks

    Adam

  • #4 / Aug 07, 2007 4:48pm

    Erin Dalzell

    790 posts

    How exactly does the mod_apache_rewrite work?

    http://httpd.apache.org/docs/1.3/mod/mod_rewrite.html

.(JavaScript must be enabled to view this email address)

ExpressionEngine News!

#eecms, #events, #releases